package com.zjx.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zhaojiaxu
 * @date 2021/06/30 19:49
 **/
@Component("a")
public class A {

	private B b;

	@Autowired
	public void setB(B b) {
		this.b = b;
	}

	public A(){
 		System.out.print("A...构造...");
	}
}

